package org.jeecg.modules.demo.basepaydetail.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 开单提成分红表
 * @Author: jeecg-boot
 * @Date: 2022-02-18
 * @Version: V1.0
 */
@Data
@TableName("base_pay_detail")

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "base_pay_detail对象", description = "开单提成分红表")
public class BasePayDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 销售额
     */
    @Excel(name = "销售额", width = 15)
    @ApiModelProperty(value = "销售额")
    private BigDecimal saleroom;
    /**
     * 员工商品提成
     */
    @Excel(name = "员工商品提成", width = 15)
    @ApiModelProperty(value = "员工商品提成")
    private BigDecimal staffShopAward;
    /**
     * 员工项目提成
     */
    @Excel(name = "员工项目提成", width = 15)
    @ApiModelProperty(value = "员工项目提成")
    private BigDecimal staffProjectAward;
    /**
     * 员工服务提成
     */
    @Excel(name = "员工服务提成", width = 15)
    @ApiModelProperty(value = "员工服务提成")
    private BigDecimal staffServeAward;
    /**
     * 员工分红（股东管家分红）
     */
    @Excel(name = "员工分红（股东管家分红）", width = 15)
    @ApiModelProperty(value = "员工分红（股东管家分红）")
    private BigDecimal staffBonus;
    /**
     * 股东分红
     */
    @Excel(name = "股东分红", width = 15)
    @ApiModelProperty(value = "股东分红")
    private BigDecimal stockBonus;
    /**
     * 是否给股东分红
     */
    @Excel(name = "是否给股东分红", width = 15)
    @ApiModelProperty(value = "是否给股东分红")
    private Integer isStockBonus;
    /**
     * 实际营收额（带动营业额度）
     */
    @Excel(name = "实际营收额（带动营业额度）", width = 15)
    @ApiModelProperty(value = "实际营收额（带动营业额度）")
    private BigDecimal profit;
    /**
     * 订单ID
     */
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    /**
     * 员工ID
     */
    @Excel(name = "员工ID", width = 15)
    @ApiModelProperty(value = "员工ID")
    private String staffId;
    /**
     * 会员ID
     */
    @Excel(name = "会员ID", width = 15)
    @ApiModelProperty(value = "会员ID")
    private String memberId;
    /**
     * 股东ID
     */
    @Excel(name = "股东ID", width = 15)
    @ApiModelProperty(value = "股东ID")
    private String stockId;

    /**
     * 类型1=商品 2=项目
     */
    @Excel(name = "类型1=商品 2=项目", width = 15)
    @ApiModelProperty(value = "类型1=商品 2=项目")
    private String type;

    /**
     * 类型1=商品 2=项目
     */
    @Excel(name = "商品或项目ID", width = 15)
    @ApiModelProperty(value = "商品或项目ID")
    private String shopJobId;

    private String storeId;
}
